From 77efb6604f344e9116beb6d393c3d10a877e1bb4 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Wed, 10 Feb 2016 16:49:25 +0000 Subject: [PATCH] public/io/netif.h: fix typos Unfortunately my patch 162a81ab "document control ring and toeplitz hashing" contained a couple of typos. This patch fixes them. Signed-off-by: Paul Durrant Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan Acked-by: Ian Campbell --- xen/include/public/io/netif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/public/io/netif.h b/xen/include/public/io/netif.h index 8816e0ff8b..8d82625cbe 100644 --- a/xen/include/public/io/netif.h +++ b/xen/include/public/io/netif.h @@ -234,7 +234,7 @@ * Result = ToeplitzHash(Buffer, 32) */ #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6 2 -#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4) +#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6) /* * A hash calculated over an IP version 6 header and TCP header as @@ -248,7 +248,7 @@ * Result = ToeplitzHash(Buffer, 36) */ #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP 3 -#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4_TCP) +#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP) /* * Control requests (netif_ctrl_request_t) -- 2.30.2